package com.yand.oratransmysql.mapper;


import com.yand.oratransmysql.entity.OracleTableColumnInfoBean;
import com.yand.oratransmysql.entity.OracleTableInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * oracle 数据库处理相关类
 */
@Mapper
public interface OracleTableInfoMapper {

    //获取所有表的信息
    List<OracleTableInfoBean> queryAllTableName();

    //通过表名获取该表所有列的信息
    List<OracleTableColumnInfoBean> queryTableColumnInfoByName(@Param("tableName") String tableName);

    List<Map<String, Object>> queryDataList(Map<String, Object> param);


    BigDecimal queryDataCount(Map<String, Object> param);


}
